package com.ln.cmsln.service.yang;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ln.cmsln.pojo.entity.yang.Jiaoyan;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Helen
 * @since 2022-03-31
 */
public interface JiaoyanService extends IService<Jiaoyan> {
    //全查
    List<Jiaoyan> findAll();
    //删除
    void  remove(Long jId);

    //添加
    int add(Jiaoyan jiaoyan);

    //修改
    boolean update(Jiaoyan jiaoyan,String realPath,MultipartFile file);
}